<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxTriangleMesh.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PxTriangleMesh_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PxTriangleMesh.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="PxTriangleMesh_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// are met:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//    documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS &#39;&#39;AS IS&#39;&#39; AND ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  </span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef PX_PHYSICS_GEOMUTILS_NX_TRIANGLEMESH</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define PX_PHYSICS_GEOMUTILS_NX_TRIANGLEMESH</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxVec3_8h.html">foundation/PxVec3.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxBounds3_8h.html">foundation/PxBounds3.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxPhysXCommonConfig_8h.html">common/PxPhysXCommonConfig.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxBase_8h.html">common/PxBase.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacephysx.html">physx</a></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;{</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__geomutils.html#ga180863caf5cb983172af50521c9735ac">   51</a></span>&#160;<span class="preprocessor">#define PX_ENABLE_DYNAMIC_MESH_RTREE 1</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structPxMeshMidPhase.html">   64</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxMeshMidPhase.html">PxMeshMidPhase</a></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;{</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structPxMeshMidPhase.html#a49f740883fbfb1a49631c28818c219f4">   66</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="structPxMeshMidPhase.html#a49f740883fbfb1a49631c28818c219f4">Enum</a></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    {</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structPxMeshMidPhase.html#a49f740883fbfb1a49631c28818c219f4aa791bfd986fc6edb77db2928e3c5e529">   68</a></span>&#160;        eBVH33 = 0,     </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structPxMeshMidPhase.html#a49f740883fbfb1a49631c28818c219f4a42051af73b6c6b3a5ac4df2928b6d446">   69</a></span>&#160;        eBVH34 = 1,     </div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structPxMeshMidPhase.html#a49f740883fbfb1a49631c28818c219f4a16776340ef05fd5d3f45ef37a0631e03">   71</a></span>&#160;        eLAST</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    };</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;};</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structPxTriangleMeshFlag.html">   80</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structPxTriangleMeshFlag.html">PxTriangleMeshFlag</a></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structPxTriangleMeshFlag.html#a7d0d36347f7c197a4bdbec68ccc074cc">   82</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="structPxTriangleMeshFlag.html#a7d0d36347f7c197a4bdbec68ccc074cc">Enum</a></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    {</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structPxTriangleMeshFlag.html#a7d0d36347f7c197a4bdbec68ccc074cca6bf8af3bd17d71ae8941345cb0889246">   84</a></span>&#160;        e16_BIT_INDICES = (1&lt;&lt;1),   </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structPxTriangleMeshFlag.html#a7d0d36347f7c197a4bdbec68ccc074cca093e66a10f948a450b8525ea58c25fd9">   85</a></span>&#160;        eADJACENCY_INFO = (1&lt;&lt;2)    </div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    };</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;};</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__geomutils.html#ga9bff69ddd57aac22aad966a4b30983e7">   94</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classPxFlags.html">PxFlags&lt;PxTriangleMeshFlag::Enum,PxU8&gt;</a> <a class="code" href="group__geomutils.html#ga9bff69ddd57aac22aad966a4b30983e7">PxTriangleMeshFlags</a>;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;PX_FLAGS_OPERATORS(<a class="code" href="structPxTriangleMeshFlag.html#a7d0d36347f7c197a4bdbec68ccc074cc">PxTriangleMeshFlag::Enum</a>,<a class="code" href="namespacephysx.html#a3849f86abc21d3a58949481603fe8309">PxU8</a>)</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classPxTriangleMesh.html">  126</a></span>&#160;class <a class="code" href="classPxTriangleMesh.html">PxTriangleMesh</a> : public <a class="code" href="classPxBase.html">PxBase</a></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;{</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;     <span class="keyword">virtual</span>    <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>               getNbVertices()                                 <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>*           getVertices()                                   <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">#if PX_ENABLE_DYNAMIC_MESH_RTREE</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classPxVec3.html">PxVec3</a>*                 getVerticesForModification() = 0;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classPxBounds3.html">PxBounds3</a>               refitBVH() = 0;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#endif // PX_ENABLE_DYNAMIC_MESH_RTREE</span></div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>                   getNbTriangles()                                <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">void</span>*             getTriangles()                                  <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classPxFlags.html">PxTriangleMeshFlags</a>     getTriangleMeshFlags()                          <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>*            getTrianglesRemap()                         <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    release()                                           = 0;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__common.html#gac816bc62a68a52f01bf21f963295e822">PxMaterialTableIndex</a>    getTriangleMaterialIndex(<a class="code" href="group__common.html#ga19403877bf7ce42d7240e4e4c758c016">PxTriangleID</a> triangleIndex)    <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classPxBounds3.html">PxBounds3</a>               getLocalBounds()                            <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>                   getReferenceCount()                         <span class="keyword">const</span>   = 0;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    acquireReference()                                  = 0;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="classPxTriangleMesh.html#ab6401ba6b8f477e3c95a79da42f4e3b0">  273</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>                       <a class="code" href="classPxTriangleMesh.html#ab6401ba6b8f477e3c95a79da42f4e3b0">PxTriangleMesh</a>(<a class="code" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxBase.html">PxBase</a>(concreteType, baseFlags)    {}</div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classPxTriangleMesh.html#aadd4279bc98db8ec4d1da6c1485fcb07">  274</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>                       <a class="code" href="classPxTriangleMesh.html#aadd4279bc98db8ec4d1da6c1485fcb07">PxTriangleMesh</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxBase.html">PxBase</a>(baseFlags)                                       {}</div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="classPxTriangleMesh.html#ada2a2da4a5671707c12a04c736ea256f">  275</a></span>&#160;    <span class="keyword">virtual</span>                         <a class="code" href="classPxTriangleMesh.html#ada2a2da4a5671707c12a04c736ea256f">~PxTriangleMesh</a>() {}</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="classPxTriangleMesh.html#adb359c49e60c827061a6124d329f7cf1">  277</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span>                    <a class="code" href="classPxTriangleMesh.html#adb359c49e60c827061a6124d329f7cf1">isKindOf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !::strcmp(<span class="stringliteral">&quot;PxTriangleMesh&quot;</span>, name) || <a class="code" href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase::isKindOf</a>(name); }</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;};</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="classPxBVH33TriangleMesh.html">  286</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxBVH33TriangleMesh.html">PxBVH33TriangleMesh</a> : <span class="keyword">public</span> <a class="code" href="classPxTriangleMesh.html">PxTriangleMesh</a></div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;{</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classPxBVH33TriangleMesh.html#a47a4931d52d707691d9eee2b30e3bd24">  290</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>                       <a class="code" href="classPxBVH33TriangleMesh.html#a47a4931d52d707691d9eee2b30e3bd24">PxBVH33TriangleMesh</a>(<a class="code" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxTriangleMesh.html">PxTriangleMesh</a>(concreteType, baseFlags) {}</div><div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="classPxBVH33TriangleMesh.html#a7f409c70b466edc636c663e98171d155">  291</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>                       <a class="code" href="classPxBVH33TriangleMesh.html#a7f409c70b466edc636c663e98171d155">PxBVH33TriangleMesh</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxTriangleMesh.html">PxTriangleMesh</a>(baseFlags) {}</div><div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="classPxBVH33TriangleMesh.html#a04d73d186e849be0d064aca6fdf8d535">  292</a></span>&#160;    <span class="keyword">virtual</span>                         <a class="code" href="classPxBVH33TriangleMesh.html#a04d73d186e849be0d064aca6fdf8d535">~PxBVH33TriangleMesh</a>() {}</div><div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="classPxBVH33TriangleMesh.html#a1fa2f684198b26d57c862436373470a1">  293</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span>                    <a class="code" href="classPxBVH33TriangleMesh.html#a1fa2f684198b26d57c862436373470a1">isKindOf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !::strcmp(<span class="stringliteral">&quot;PxBVH33TriangleMesh&quot;</span>, name) || <a class="code" href="classPxTriangleMesh.html#adb359c49e60c827061a6124d329f7cf1">PxTriangleMesh::isKindOf</a>(name); }</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;};</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classPxBVH34TriangleMesh.html">  302</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxBVH34TriangleMesh.html">PxBVH34TriangleMesh</a> : <span class="keyword">public</span> <a class="code" href="classPxTriangleMesh.html">PxTriangleMesh</a></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;{</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="classPxBVH34TriangleMesh.html#a38a81b9df1a936497f665c65ee1bc9c2">  306</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>                       <a class="code" href="classPxBVH34TriangleMesh.html#a38a81b9df1a936497f665c65ee1bc9c2">PxBVH34TriangleMesh</a>(<a class="code" href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxTriangleMesh.html">PxTriangleMesh</a>(concreteType, baseFlags) {}</div><div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classPxBVH34TriangleMesh.html#ae5920619571b2ed61108d937f24a7bc4">  307</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>                       <a class="code" href="classPxBVH34TriangleMesh.html#ae5920619571b2ed61108d937f24a7bc4">PxBVH34TriangleMesh</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxTriangleMesh.html">PxTriangleMesh</a>(baseFlags) {}</div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classPxBVH34TriangleMesh.html#ad09e4762f56a3610eef3364c7ee60190">  308</a></span>&#160;    <span class="keyword">virtual</span>                         <a class="code" href="classPxBVH34TriangleMesh.html#ad09e4762f56a3610eef3364c7ee60190">~PxBVH34TriangleMesh</a>() {}</div><div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="classPxBVH34TriangleMesh.html#ac451c577118605305231235a5a492e74">  309</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span>                    <a class="code" href="classPxBVH34TriangleMesh.html#ac451c577118605305231235a5a492e74">isKindOf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !::strcmp(<span class="stringliteral">&quot;PxBVH34TriangleMesh&quot;</span>, name) || <a class="code" href="classPxTriangleMesh.html#adb359c49e60c827061a6124d329f7cf1">PxTriangleMesh::isKindOf</a>(name); }</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;};</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;} <span class="comment">// namespace physx</span></div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespacephysx_html"><div class="ttname"><a href="namespacephysx.html">physx</a></div><div class="ttdef"><b>Definition:</b> GuContactBuffer.h:37</div></div>
<div class="ttc" id="classPxTriangleMesh_html_ada2a2da4a5671707c12a04c736ea256f"><div class="ttname"><a href="classPxTriangleMesh.html#ada2a2da4a5671707c12a04c736ea256f">PxTriangleMesh::~PxTriangleMesh</a></div><div class="ttdeci">virtual ~PxTriangleMesh()</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:275</div></div>
<div class="ttc" id="classPxBVH33TriangleMesh_html_a04d73d186e849be0d064aca6fdf8d535"><div class="ttname"><a href="classPxBVH33TriangleMesh.html#a04d73d186e849be0d064aca6fdf8d535">PxBVH33TriangleMesh::~PxBVH33TriangleMesh</a></div><div class="ttdeci">virtual ~PxBVH33TriangleMesh()</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:292</div></div>
<div class="ttc" id="structPxMeshMidPhase_html"><div class="ttname"><a href="structPxMeshMidPhase.html">PxMeshMidPhase</a></div><div class="ttdoc">Mesh midphase structure. This enum is used to select the desired acceleration structure for midphase ...</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:64</div></div>
<div class="ttc" id="PxPhysXCommonConfig_8h_html"><div class="ttname"><a href="PxPhysXCommonConfig_8h.html">PxPhysXCommonConfig.h</a></div></div>
<div class="ttc" id="classPxBase_html_addfc067afca2f67bda6c497b14424962"><div class="ttname"><a href="classPxBase.html#addfc067afca2f67bda6c497b14424962">PxBase::isKindOf</a></div><div class="ttdeci">virtual bool isKindOf(const char *superClass) const</div><div class="ttdoc">Returns whether a given type name matches with the type of this instance. </div><div class="ttdef"><b>Definition:</b> PxBase.h:178</div></div>
<div class="ttc" id="classPxTriangleMesh_html"><div class="ttname"><a href="classPxTriangleMesh.html">PxTriangleMesh</a></div><div class="ttdoc">A triangle mesh, also called a &amp;#39;polygon soup&amp;#39;. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:126</div></div>
<div class="ttc" id="PxBase_8h_html"><div class="ttname"><a href="PxBase_8h.html">PxBase.h</a></div></div>
<div class="ttc" id="structPxTriangleMeshFlag_html"><div class="ttname"><a href="structPxTriangleMeshFlag.html">PxTriangleMeshFlag</a></div><div class="ttdoc">Flags for the mesh geometry properties. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:80</div></div>
<div class="ttc" id="group__common_html_gac1fb4b256a5d900d394e89db170a2b79"><div class="ttname"><a href="group__common.html#gac1fb4b256a5d900d394e89db170a2b79">PxType</a></div><div class="ttdeci">PxU16 PxType</div><div class="ttdef"><b>Definition:</b> PxBase.h:49</div></div>
<div class="ttc" id="classPxBVH33TriangleMesh_html_a7f409c70b466edc636c663e98171d155"><div class="ttname"><a href="classPxBVH33TriangleMesh.html#a7f409c70b466edc636c663e98171d155">PxBVH33TriangleMesh::PxBVH33TriangleMesh</a></div><div class="ttdeci">PX_INLINE PxBVH33TriangleMesh(PxBaseFlags baseFlags)</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:291</div></div>
<div class="ttc" id="classPxBVH34TriangleMesh_html_a38a81b9df1a936497f665c65ee1bc9c2"><div class="ttname"><a href="classPxBVH34TriangleMesh.html#a38a81b9df1a936497f665c65ee1bc9c2">PxBVH34TriangleMesh::PxBVH34TriangleMesh</a></div><div class="ttdeci">PX_INLINE PxBVH34TriangleMesh(PxType concreteType, PxBaseFlags baseFlags)</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:306</div></div>
<div class="ttc" id="classPxBVH33TriangleMesh_html_a1fa2f684198b26d57c862436373470a1"><div class="ttname"><a href="classPxBVH33TriangleMesh.html#a1fa2f684198b26d57c862436373470a1">PxBVH33TriangleMesh::isKindOf</a></div><div class="ttdeci">virtual bool isKindOf(const char *name) const</div><div class="ttdoc">Returns whether a given type name matches with the type of this instance. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:293</div></div>
<div class="ttc" id="structPxTriangleMeshFlag_html_a7d0d36347f7c197a4bdbec68ccc074cc"><div class="ttname"><a href="structPxTriangleMeshFlag.html#a7d0d36347f7c197a4bdbec68ccc074cc">PxTriangleMeshFlag::Enum</a></div><div class="ttdeci">Enum</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:82</div></div>
<div class="ttc" id="classPxBVH34TriangleMesh_html_ad09e4762f56a3610eef3364c7ee60190"><div class="ttname"><a href="classPxBVH34TriangleMesh.html#ad09e4762f56a3610eef3364c7ee60190">PxBVH34TriangleMesh::~PxBVH34TriangleMesh</a></div><div class="ttdeci">virtual ~PxBVH34TriangleMesh()</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:308</div></div>
<div class="ttc" id="classPxBVH33TriangleMesh_html"><div class="ttname"><a href="classPxBVH33TriangleMesh.html">PxBVH33TriangleMesh</a></div><div class="ttdoc">A triangle mesh containing the PxMeshMidPhase::eBVH33 structure. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:286</div></div>
<div class="ttc" id="classPxTriangleMesh_html_aadd4279bc98db8ec4d1da6c1485fcb07"><div class="ttname"><a href="classPxTriangleMesh.html#aadd4279bc98db8ec4d1da6c1485fcb07">PxTriangleMesh::PxTriangleMesh</a></div><div class="ttdeci">PX_INLINE PxTriangleMesh(PxBaseFlags baseFlags)</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:274</div></div>
<div class="ttc" id="structPxMeshMidPhase_html_a49f740883fbfb1a49631c28818c219f4"><div class="ttname"><a href="structPxMeshMidPhase.html#a49f740883fbfb1a49631c28818c219f4">PxMeshMidPhase::Enum</a></div><div class="ttdeci">Enum</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:66</div></div>
<div class="ttc" id="group__common_html_gac816bc62a68a52f01bf21f963295e822"><div class="ttname"><a href="group__common.html#gac816bc62a68a52f01bf21f963295e822">PxMaterialTableIndex</a></div><div class="ttdeci">PxU16 PxMaterialTableIndex</div><div class="ttdef"><b>Definition:</b> PxPhysXCommonConfig.h:117</div></div>
<div class="ttc" id="classPxTriangleMesh_html_ab6401ba6b8f477e3c95a79da42f4e3b0"><div class="ttname"><a href="classPxTriangleMesh.html#ab6401ba6b8f477e3c95a79da42f4e3b0">PxTriangleMesh::PxTriangleMesh</a></div><div class="ttdeci">PX_INLINE PxTriangleMesh(PxType concreteType, PxBaseFlags baseFlags)</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:273</div></div>
<div class="ttc" id="PxBounds3_8h_html"><div class="ttname"><a href="PxBounds3_8h.html">PxBounds3.h</a></div></div>
<div class="ttc" id="namespacephysx_html_a3849f86abc21d3a58949481603fe8309"><div class="ttname"><a href="namespacephysx.html#a3849f86abc21d3a58949481603fe8309">physx::PxU8</a></div><div class="ttdeci">uint8_t PxU8</div><div class="ttdef"><b>Definition:</b> PxSimpleTypes.h:75</div></div>
<div class="ttc" id="group__geomutils_html_ga9bff69ddd57aac22aad966a4b30983e7"><div class="ttname"><a href="group__geomutils.html#ga9bff69ddd57aac22aad966a4b30983e7">PxTriangleMeshFlags</a></div><div class="ttdeci">PxFlags&lt; PxTriangleMeshFlag::Enum, PxU8 &gt; PxTriangleMeshFlags</div><div class="ttdoc">collection of set bits defined in PxTriangleMeshFlag. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:94</div></div>
<div class="ttc" id="classPxBounds3_html"><div class="ttname"><a href="classPxBounds3.html">PxBounds3</a></div><div class="ttdoc">Class representing 3D range or axis aligned bounding box. </div><div class="ttdef"><b>Definition:</b> PxBounds3.h:58</div></div>
<div class="ttc" id="PxVec3_8h_html"><div class="ttname"><a href="PxVec3_8h.html">PxVec3.h</a></div></div>
<div class="ttc" id="classPxBVH34TriangleMesh_html"><div class="ttname"><a href="classPxBVH34TriangleMesh.html">PxBVH34TriangleMesh</a></div><div class="ttdoc">A triangle mesh containing the PxMeshMidPhase::eBVH34 structure. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:302</div></div>
<div class="ttc" id="group__common_html_ga19403877bf7ce42d7240e4e4c758c016"><div class="ttname"><a href="group__common.html#ga19403877bf7ce42d7240e4e4c758c016">PxTriangleID</a></div><div class="ttdeci">PxU32 PxTriangleID</div><div class="ttdef"><b>Definition:</b> PxPhysXCommonConfig.h:114</div></div>
<div class="ttc" id="classPxFlags_html"><div class="ttname"><a href="classPxFlags.html">PxFlags</a></div><div class="ttdoc">Container for bitfield flag variables associated with a specific enum type. </div><div class="ttdef"><b>Definition:</b> PxFlags.h:73</div></div>
<div class="ttc" id="group__foundation_html_gacce5749db3dcfb916e98c253374264ed"><div class="ttname"><a href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a></div><div class="ttdeci">uint32_t PxU32</div><div class="ttdef"><b>Definition:</b> Px.h:48</div></div>
<div class="ttc" id="classPxBVH33TriangleMesh_html_a47a4931d52d707691d9eee2b30e3bd24"><div class="ttname"><a href="classPxBVH33TriangleMesh.html#a47a4931d52d707691d9eee2b30e3bd24">PxBVH33TriangleMesh::PxBVH33TriangleMesh</a></div><div class="ttdeci">PX_INLINE PxBVH33TriangleMesh(PxType concreteType, PxBaseFlags baseFlags)</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:290</div></div>
<div class="ttc" id="classPxBase_html"><div class="ttname"><a href="classPxBase.html">PxBase</a></div><div class="ttdoc">Base class for objects that can be members of a PxCollection. </div><div class="ttdef"><b>Definition:</b> PxBase.h:73</div></div>
<div class="ttc" id="classPxTriangleMesh_html_adb359c49e60c827061a6124d329f7cf1"><div class="ttname"><a href="classPxTriangleMesh.html#adb359c49e60c827061a6124d329f7cf1">PxTriangleMesh::isKindOf</a></div><div class="ttdeci">virtual bool isKindOf(const char *name) const</div><div class="ttdoc">Returns whether a given type name matches with the type of this instance. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:277</div></div>
<div class="ttc" id="group__foundation_html_gacb03347b642a2a5bdea1f9b305a6fbec"><div class="ttname"><a href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a></div><div class="ttdeci">#define PX_INLINE</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:336</div></div>
<div class="ttc" id="classPxVec3_html"><div class="ttname"><a href="classPxVec3.html">PxVec3</a></div><div class="ttdoc">3 Element vector class. </div><div class="ttdef"><b>Definition:</b> PxVec3.h:49</div></div>
<div class="ttc" id="classPxBVH34TriangleMesh_html_ac451c577118605305231235a5a492e74"><div class="ttname"><a href="classPxBVH34TriangleMesh.html#ac451c577118605305231235a5a492e74">PxBVH34TriangleMesh::isKindOf</a></div><div class="ttdeci">virtual bool isKindOf(const char *name) const</div><div class="ttdoc">Returns whether a given type name matches with the type of this instance. </div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:309</div></div>
<div class="ttc" id="classPxBVH34TriangleMesh_html_ae5920619571b2ed61108d937f24a7bc4"><div class="ttname"><a href="classPxBVH34TriangleMesh.html#ae5920619571b2ed61108d937f24a7bc4">PxBVH34TriangleMesh::PxBVH34TriangleMesh</a></div><div class="ttdeci">PX_INLINE PxBVH34TriangleMesh(PxBaseFlags baseFlags)</div><div class="ttdef"><b>Definition:</b> PxTriangleMesh.h:307</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_713b4d6d20ce249967929ad234a3da6e.html">include</a></li><li class="navelem"><a class="el" href="dir_e1ab1c2afe6edf020a20ecbe699cc903.html">geometry</a></li><li class="navelem"><a class="el" href="PxTriangleMesh_8h.html">PxTriangleMesh.h</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
